﻿<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>js</title>

<!-- 引入 echarts.js -->
<script src="js/jquery.min.js"></script>
<script src="js/echarts.common.min.js"></script>
<script src="js/echartsOne.js"></script>

</head>
<body>
<center> </center>
<!-- 为ECharts准备一个具备大小（宽高）的Dom 


-->

<h3>
	<button id="qxfl" data-index="1">学科</button>
	<button id="gfzr" data-index="2">服务经济</button>
</h3>
<div id="main" style="width: 600px;height:400px;"></div>

<script type="text/javascript">
	$(function(){
		//在这就行
		qxfl('#qxfl');
		$("h3 button").click(function(){
			qxfl(this);
		})
	});
</script>

<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">

</div>
</body>
</html>